package com.atom.module.mvvm.livedata

import android.os.Looper

fun SingleLiveData<Unit>.call() {
    if (Looper.getMainLooper() == Looper.myLooper()) {
        this.setValue(Unit)
        return
    }
    this.postValue(Unit)
}